package com.lancoo.ccas52.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 必修课对应的学生
 * </p>
 *
 * @author quin.song
 * @since 2023-01-31
 */
@Data
@Accessors(chain = true)
@TableName("teaching_class_student")
@ApiModel(value = "TeachingClassStudent对象", description = "必修课对应的学生")
public class TeachingClassStudent implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long teachingClassId;

    private Long studentId;

    @ApiModelProperty("1已选   2退选   3管理员移除")
    private Integer flag;

    private LocalDateTime createdTime;

    private LocalDateTime modifiedTime;
}
